package yl.hs.bmipfull.pojo.production;

import lombok.Data;
import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 作用:  实体类<br/>
 * 创建时间: 2023年06月07日 15时26分04秒 <br/>
 *
 * @author 吴高丰
 */
@Data
@DBTable(disName = "", mapCode = "production_task_fertilizer")
public class ProductionTaskFertilizerEntity extends BaseEntity {

    /**
     * 主键id
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "HFRW")
    private String sn;
    /**
     * 配比名称
     */
    @DBField(disName = "配比名称", mapCode = "pbName")
    private String pbName;
    /**
     * 配比编号
     */
    @DBField(disName = "配比编号", mapCode = "pbSn")
    private String pbSn;
    /**
     * 生产数量
     */
    @DBField(disName = "生产数量", mapCode = "quantity")
    private BigDecimal quantity;
    /**
     * 销售订单编号
     */
    private String saleOrderSn;
    /**
     * 销售订单明细编号
     */
    private String saleOrdeDetail;
    /**
     * 状态 0草稿 1审核中 2已审核 3生产中 4已检验 5已完成
     */
    private Short state;
    private Date addTime;
    private Short pbstate;
    private String taskPbSn;
    private String plineSn;
    private String plineName;
    private String productCateSN;
    private String productCateName;
    private String productSN;
    private String productName;
    private String productSpec;
    private String packageSN;
    private String packageName;
    private BigDecimal packageWeight;
    private String packWay;
    private String packUnit;
    private String packImage;
    private BigDecimal cost;
    private String customerSN;
    private String customerName;
    private String contractSN;
}